#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int Str(char* s)
{
	char* start = s;
	int i = 0;
	while (*s != '\0')
	{
		s++;
	}
	return s - start;
}
int main()
{
	char arr[] = "abcdef";
	printf("%s\n", arr);
	int len = Str(arr);
	char* p = arr + len - 1;
	int j = 0;
	for (j = 0; j < len; j++)
	{
		printf("%c", *(p - j));
	}
	return 0;
}